package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "bas_user_security")
public class BasUserSecurity implements Serializable {
    /**
     * 主键
     */
    @Id
    private Integer id;

    /**
     * 用户id	
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 支付密码	
     */
    @Column(name = "pattern_lock")
    private String patternLock;

    /**
     * 手势密码
     */
    @Column(name = "payment_password")
    private String paymentPassword;

    /**
     * 真实姓名	
     */
    private String realname;

    /**
     * 身份证号码	
     */
    @Column(name = "identify_card")
    private String identifyCard;

    /**
     * 手机认证状态	0-未认证 1-已认证 2-已提交申请
     */
    @Column(name = "phone_status")
    private Integer phoneStatus;

    /**
     * 邮箱认证状态	0-未认证 1-已认证 2-已提交申请
     */
    @Column(name = "email_status")
    private Integer emailStatus;

    /**
     * 实名认证状态	0-未认证 1-已认证 2-已提交申请
     */
    @Column(name = "realname_status")
    private Integer realnameStatus;

    private String email;

    @Column(name = "verify_time")
    private Date verifyTime;

    /**
     * 获取主键
     *
     * @return id - 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键
     *
     * @param id 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户id	
     *
     * @return user_id - 用户id	
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id	
     *
     * @param userId 用户id	
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取支付密码	
     *
     * @return payment_password - 支付密码	
     */
    public String getPaymentPassword() {
        return paymentPassword;
    }

    /**
     * 设置支付密码	
     *
     * @param paymentPassword 支付密码	
     */
    public void setPaymentPassword(String paymentPassword) {
        this.paymentPassword = paymentPassword;
    }

    /**
     * 获取真实姓名	
     *
     * @return realname - 真实姓名	
     */
    public String getRealname() {
        return realname;
    }

    /**
     * 设置真实姓名	
     *
     * @param realname 真实姓名	
     */
    public void setRealname(String realname) {
        this.realname = realname;
    }

    /**
     * 获取身份证号码	
     *
     * @return identify_card - 身份证号码	
     */
    public String getIdentifyCard() {
        return identifyCard;
    }

    /**
     * 设置身份证号码	
     *
     * @param identifyCard 身份证号码	
     */
    public void setIdentifyCard(String identifyCard) {
        this.identifyCard = identifyCard;
    }

    /**
     * 获取手机认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @return phone_status - 手机认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public Integer getPhoneStatus() {
        return phoneStatus;
    }

    /**
     * 设置手机认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @param phoneStatus 手机认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public void setPhoneStatus(Integer phoneStatus) {
        this.phoneStatus = phoneStatus;
    }

    /**
     * 获取邮箱认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @return email_status - 邮箱认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public Integer getEmailStatus() {
        return emailStatus;
    }

    /**
     * 设置邮箱认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @param emailStatus 邮箱认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public void setEmailStatus(Integer emailStatus) {
        this.emailStatus = emailStatus;
    }

    /**
     * 获取实名认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @return realname_status - 实名认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public Integer getRealnameStatus() {
        return realnameStatus;
    }

    /**
     * 设置实名认证状态	0-未认证 1-已认证 2-已提交申请
     *
     * @param realnameStatus 实名认证状态	0-未认证 1-已认证 2-已提交申请
     */
    public void setRealnameStatus(Integer realnameStatus) {
        this.realnameStatus = realnameStatus;
    }

    /**
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return verify_time
     */
    public Date getVerifyTime() {
        return verifyTime;
    }

    /**
     * @param verifyTime
     */
    public void setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
    }

    public String getPatternLock() {
        return patternLock;
    }

    public void setPatternLock(String patternLock) {
        this.patternLock = patternLock;
    }
}